import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    //数据可以被所有组件直接使用
      activeName:'first',
      commentCount:0,
      collectCount:0,
      orderproduct:[],
      navIndex:'1',
      activeNum:0,
      productId:'',
      user:[],
      shopIds:[],
      orderId:0,
      payCount:0,
  },
  mutations: {

  },
  actions: {

  }
})
